.multiple-select-box {
  padding: 4px 8px;
  cursor: pointer;
  user-select: none;
  position: relative;
  min-height: 28px;
  border: 1px solid var(--input-border-color);
  border-radius: 2px;
  background-color: var(--input-background-color);

  .selected-values {
    gap: 5px;
    display: flex;
    flex-wrap: wrap;

    li {
      display: inline-block;
      padding: 2px 6px;
      background-color: var(--input-focus-background-color);
      border-radius: 2px;
    }
  }

  .dropdown {
    display: none;
    position: absolute;
    top: calc(100% + 1px);
    left: 0;
    right: 0;
    border: 1px solid var(--input-border-color);
    background-color: white;
    z-index: 1000;
    max-height: 200px;
    overflow-y: auto;
    border-radius: 2px;
  }

  .dropdown.open {
    display: block;
  }

  .dropdown ul {
    list-style-type: none;
    padding: 0;
    margin: 0;
  }

  .dropdown li {
    padding: 4px 8px;
  }

  .dropdown li:hover,
  .dropdown li.selected {
    background-color: var(--input-focus-background-color);
  }
}

.multiple-select-box.focus {
  outline: none;
  border: 1px solid var(--input-focus-border-color);
}
